package com.gobuy.search.config;/*
 *@Author GaoZeXi
 *@Created time 2020/5/7 23:47
 *@Description:
 * Step by Step  and Stand on,  You Are The Best Investment!!!
 */

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author GaoZeXi
 */
@Configuration
public class FeignLogConfig {

    /**
     * NONE 不记录
     * BASIC 记录基本的请求行,响应的状态码数据
     * HEADERS 记录基本的请求行,响应的状态码数据,记录响应头
     * FULL 记录完成的请求,响应的数据
     * @return
     */
    @Bean
    public Logger.Level level(){
        return Logger.Level.FULL;
    }
}
